package cn.sczc.jh.client.mapper.sys;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import cn.sczc.jh.client.entity.Permission;

public interface PermissionMapper extends BaseMapper<Permission> {

	List<Permission> getPermissionList(Long pid);

	List<Permission> getPermissionListByRoleId(Long roleId);

	List<Permission> getPermissionListByUserId(@Param("userId")Long userId, @Param("pid")Long pid);

}
